package com.tobby.demo.jmxdemo;

public class LamdaTest {

	public static void main(String[] args) {
		Runnable runnable = () -> {System.out.print("Hello Lamda");};
		Object object = runnable;
		//Object object2 = () -> {System.out.print("Hello Lamda");};
		Object object2 = (Runnable)() -> {System.out.print("Hello Lamda");};
	}

}
